package edu.yctc.delivery.vo;

import java.time.LocalDateTime;

/**
 * DeliveryVO
 * 
 * @author 赵晨 渠立庆
 */
public class DeliveryVO {

    /** 线路id */
    private long id;
    /** 车上的货物量 */
    private double volume;
    /** 配送点 */
    private String deliveryPointName;;
    /** 具体位置 */
    private String position;
    /** 卸货时间限制 */
    private int unloadTimeLimit;
    /** 配送员姓名 */
    private String deliverymanName;;
    /** 车牌号 */
    private String truckNumber;;
    /** 到达配送点时间 */
    private LocalDateTime arriveTime;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public double getVolume() {
        return volume;
    }

    public void setVolume(double volume) {
        this.volume = volume;
    }

    public String getDeliveryPointName() {
        return deliveryPointName;
    }

    public void setDeliveryPointName(String deliveryPointName) {
        this.deliveryPointName = deliveryPointName;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public int getUnloadTimeLimit() {
        return unloadTimeLimit;
    }

    public void setUnloadTimeLimit(int unloadTimeLimit) {
        this.unloadTimeLimit = unloadTimeLimit;
    }

    public String getDeliverymanName() {
        return deliverymanName;
    }

    public void setDeliverymanName(String deliverymanName) {
        this.deliverymanName = deliverymanName;
    }

    public String getTruckNumber() {
        return truckNumber;
    }

    public void setTruckNumber(String truckNumber) {
        this.truckNumber = truckNumber;
    }

    public LocalDateTime getArriveTime() {
        return arriveTime;
    }

    public void setArriveTime(LocalDateTime arriveTime) {
        this.arriveTime = arriveTime;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("DeliveryVO [id=");
        builder.append(id);
        builder.append(", volume=");
        builder.append(volume);
        builder.append(", deliveryPointName=");
        builder.append(deliveryPointName);
        builder.append(", position=");
        builder.append(position);
        builder.append(", unloadTimeLimit=");
        builder.append(unloadTimeLimit);
        builder.append(", deliverymanName=");
        builder.append(deliverymanName);
        builder.append(", truckNumber=");
        builder.append(truckNumber);
        builder.append(", arriveTime=");
        builder.append(arriveTime);
        builder.append("]");
        return builder.toString();
    }

}
